﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;
using WFramework.WebHelper;

namespace MiniWeb.Web.Controllers.Web.Connectcrypt
{
    public class ConnectcryptController:BaseController
    {
        public ActionResult en()
        {
            WebConfigCrypt.Encrypt("RSAProtectedConfigurationProvider");
            return Content("success");
        }
        public ActionResult de()
        {
            WebConfigCrypt.Decrypt("RSAProtectedConfigurationProvider");
            return Content("success");
        }

    }
}
